package com.sanyang.lawyer.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @program: lawyer
 * @description: 收件实体类
 * @author: Mr.Wang
 * @create: 2019-10-11 08:30
 **/

@Data
@ToString
public class Adm_Register {

    private int registerId;           //登记主键id
    private Hr_emp empId;               //收件人（用户外键id
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date receipt;              //收件日期
    private Adm_Espress_Company companyId;            //快递公司id
    private Adm_Espress espressId;            //快递类型id
    private String state;              //领取状态（Y|N
    private Case_law caseId;            //案件id
    private String numbers;             //快递单号
    private int cost;                  //快递费用
    private Hr_emp lempId;              //领件人（用户外键id
    private String uploading;          //上传文件
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date drawTime;            //领取时间
    private String explainx;            //领件说明
    private String remark;             //其他备注

}
